package com.digitalchina.lxnsy.entity;

import com.bigkoo.pickerview.model.IPickerViewData;

import java.io.Serializable;
import java.util.List;

/**
 * ================================================
 * 项目名称：BigData
 * 类描述：
 * 包名：com.digitalchina.bigdata.entity
 * 创建人：郑皓
 * 创建时间：2017/7/19 20:07
 * 修改备注：
 * ================================================
 */
public class ExpertTypeL4VO implements Serializable ,IPickerViewData{


    /**
     * name : 养殖
     * code : 001
     * researchFieldTwoStages : [{"name":"家禽","code":"001001","researchFieldThreeStageVos":[{"name":"其他","code":"001001005","researchDirectionVos":[{"name":"养场管理","code":"00100102"},{"name":"疾病问诊","code":"00100101"}]},{"name":"鸡","code":"001001001","researchDirectionVos":[{"name":"养场管理","code":"00100102"},{"name":"疾病问诊","code":"00100101"},{"name":"饲料营养","code":"00100103"}]},{"name":"鸭","code":"001001002","researchDirectionVos":[{"name":"养场管理","code":"00100102"},{"name":"疾病问诊","code":"00100101"}]},{"name":"鹅","code":"001001003","researchDirectionVos":[{"name":"养场管理","code":"00100102"},{"name":"疾病问诊","code":"00100101"}]}]},{"name":"家畜","code":"001002","researchFieldThreeStageVos":[{"name":"其他","code":"001001010","researchDirectionVos":[{"name":"疾病问诊","code":"00100104"}]},{"name":"猪","code":"001001006","researchDirectionVos":[{"name":"疾病问诊","code":"00100104"},{"name":"饲料营养","code":"00100106"},{"name":"养场管理","code":"00100105"}]},{"name":"牛","code":"001001007","researchDirectionVos":[{"name":"疾病问诊","code":"00100104"},{"name":"养场管理","code":"00100105"}]},{"name":"羊","code":"001001008","researchDirectionVos":[{"name":"疾病问诊","code":"00100104"},{"name":"养场管理","code":"00100105"}]},{"name":"狗","code":"001001009","researchDirectionVos":[{"name":"疾病问诊","code":"00100104"}]}]},{"name":"特种养殖","code":"001004","researchFieldThreeStageVos":[{"name":"土元","code":"001001049","researchDirectionVos":[{"name":"养场管理","code":"00100111"}]},{"name":"土鸡","code":"001001048","researchDirectionVos":[{"name":"疾病问诊","code":"00100110"}]},{"name":"其他","code":"001001058","researchDirectionVos":[{"name":"饲料营养","code":"00100112"}]}]},{"name":"宠物","code":"001005","researchFieldThreeStageVos":[{"name":"猫","code":"001001060","researchDirectionVos":[{"name":"疾病问诊","code":"00100113"}]},{"name":"狗","code":"001001059","researchDirectionVos":[{"name":"疾病问诊","code":"00100113"}]},{"name":"其他","code":"001001061","researchDirectionVos":[{"name":"疾病问诊","code":"00100113"},{"name":"饲料营养","code":"00100114"}]}]}]
     */

    private String name;
    private String code;
    private List<ResearchFieldTwoStagesBean> researchFieldTwoStages;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public List<ResearchFieldTwoStagesBean> getResearchFieldTwoStages() {
        return researchFieldTwoStages;
    }

    public void setResearchFieldTwoStages(List<ResearchFieldTwoStagesBean> researchFieldTwoStages) {
        this.researchFieldTwoStages = researchFieldTwoStages;
    }

    @Override
    public String getPickerViewText() {
        return name;
    }

    public static class ResearchFieldTwoStagesBean implements Serializable ,IPickerViewData{
        /**
         * name : 家禽
         * code : 001001
         * researchFieldThreeStageVos : [{"name":"其他","code":"001001005","researchDirectionVos":[{"name":"养场管理","code":"00100102"},{"name":"疾病问诊","code":"00100101"}]},{"name":"鸡","code":"001001001","researchDirectionVos":[{"name":"养场管理","code":"00100102"},{"name":"疾病问诊","code":"00100101"},{"name":"饲料营养","code":"00100103"}]},{"name":"鸭","code":"001001002","researchDirectionVos":[{"name":"养场管理","code":"00100102"},{"name":"疾病问诊","code":"00100101"}]},{"name":"鹅","code":"001001003","researchDirectionVos":[{"name":"养场管理","code":"00100102"},{"name":"疾病问诊","code":"00100101"}]}]
         */

        private String name;
        private String code;
        private List<ResearchFieldThreeStageVosBean> researchFieldThreeStageVos;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public List<ResearchFieldThreeStageVosBean> getResearchFieldThreeStageVos() {
            return researchFieldThreeStageVos;
        }

        public void setResearchFieldThreeStageVos(List<ResearchFieldThreeStageVosBean> researchFieldThreeStageVos) {
            this.researchFieldThreeStageVos = researchFieldThreeStageVos;
        }

        @Override
        public String getPickerViewText() {
            return name;
        }

        public static class ResearchFieldThreeStageVosBean implements Serializable ,IPickerViewData{
            /**
             * name : 其他
             * code : 001001005
             * researchDirectionVos : [{"name":"养场管理","code":"00100102"},{"name":"疾病问诊","code":"00100101"}]
             */

            private String name;
            private String code;
            private List<ResearchDirectionVosBean> researchDirectionVos;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            public List<ResearchDirectionVosBean> getResearchDirectionVos() {
                return researchDirectionVos;
            }

            public void setResearchDirectionVos(List<ResearchDirectionVosBean> researchDirectionVos) {
                this.researchDirectionVos = researchDirectionVos;
            }

            @Override
            public String getPickerViewText() {
                return name;
            }

            public static class ResearchDirectionVosBean implements Serializable ,IPickerViewData{
                /**
                 * name : 养场管理
                 * code : 00100102
                 */

                private String name;
                private String code;

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getCode() {
                    return code;
                }

                public void setCode(String code) {
                    this.code = code;
                }

                @Override
                public String getPickerViewText() {
                    return name;
                }
            }
        }
    }
}
